package com.heima.search.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.common.search.pojo.ArticleDoc;
import com.heima.model.common.search.dto.SearchDto;

import java.io.IOException;
import java.util.List;

public interface SerchService {
    ResponseResult<List<ArticleDoc>> search(SearchDto dto) throws IOException;
}
